package com.sdy.resdir.biz.vo;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.sdy.resdir.biz.model.RdResDataItem;
import com.sdy.resdir.biz.model.RdResDetailsApi;
import com.sdy.resdir.biz.model.RdResourceDir;
import com.sdy.resdir.biz.model.RdResourceDirData;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@Data
public class CatalogVO {
    /**
     * 所属部门id
     */
    @JsonIgnoreProperties({ "handler","hibernateLazyInitializer" })
    @ApiModelProperty("所属部门id")
    private Integer deptId;

    /**
     * 所属部门名称
     */
    @JsonIgnoreProperties({ "handler","hibernateLazyInitializer" })
    @ApiModelProperty("所属部门名称")
    private String deptName;

    /**
     * 资源详情
     */
    @JsonIgnoreProperties({ "handler","hibernateLazyInitializer" })
    @ApiModelProperty("资源详情")
    private RdResourceDirData rdResourceDirData;

    /**
     * 资源字段列表
     */
    @JsonIgnoreProperties({ "handler","hibernateLazyInitializer" })
    @ApiModelProperty("资源字段列表")
    private List<RdResDataItem> rdResDataItemList;


    /**
     * 接口类编目信息
     */
    @JsonIgnoreProperties({ "handler","hibernateLazyInitializer" })
    @ApiModelProperty("资源字段列表")
    RdResDetailsApi rdResDetailsApi;
}
